// Injection HDAS
// Author: tsln1998@gmail.com


DefinitionBlock ("", "SSDT", 2, "hack", "AUDIO", 0x00000000)
{
    External(_SB.PCI0.HDEF, DeviceObj)
    
    Method (_SB.PCI0.HDEF._DSM, 4, NotSerialized)
    {
        If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
        Return (Package()
        {
            "layout-id", Buffer() { 3, 0x00, 0x00, 0x00 },
            "codec-id", Buffer() { 0x55, 0x02, 0xec, 0x10},
            "hda-gfx", Buffer() { "onboard-1" },
            "PinConfigurations", Buffer() { }
            //"MaximumBootBeepVolume", 77,
        })
    }
}